{include file="head.html"}
{include file="plus/ke_plus.html"}
<div id="jywrap">
  <div id="maincontent">
    <div class="wrap">
      <div class="crumbs"> <a href="__APP__/index/home">{lang='扩展'}</a> <a href="__URL__">{lang='碎片管理'}</a> </div>
      <hr />
      <br />
      <form action="__URL__/edit" method="post">
        <div class="infobox">
          <h3>{lang='修改碎片'}</h3>
          <table class="table_style form-table"  id="hacker" width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="100">{lang='碎片功能'}：</td>
              <td><input  name="title" type='text' class="regular-text" id="title" value="{$info['title']}" reg="." tip="{lang='输入碎片的功能'}" /></td>
            </tr>
            <tr>
              <td>{lang='碎片标识'}：</td>
              <td><input name="sign" type='text' disabled="disabled" class="regular-text" id="sign" value="{$info['sign']}" reg="." tip="{lang='只允许英文数字中文和下划线'}" /></td>
            </tr>
            <tr class="plus">
              <td>{lang='资料上传'}：</td>
              <td><div id="sapload" style="float:left"></div></td>
            </tr>
            <tr class="plus">
              <td>{lang='碎片内容'}：</td>
              <td>{include file="plus/editor_plus.html"}</td>
            </tr>
            <tr>
              <td colspan="2"><textarea id="editor" name="content" cols="0" style="width:100%; height:400px;" rows="5" class="regular-textarea" >{$info['content']}</textarea></td>
            </tr>
          </table>
        </div>
        <div class="submit_body">
          <input name="psot_do" id="psot_do" type="hidden" value="yes" />
          <input name="id" id="id" type="hidden" value="{$info['id']}" />
          <button class="regular-button" type="submit" >{lang='修改'}</button>
        </div>
      </form>
    </div>
  </div>
</div>
{include file="plus/upload.html"}
</body></html>